<compound
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  py:strip="True"
>
  <xi:include href="lib.xml"/>
  <table id="$view.name" dojoType="dojox.grid.DataGrid"
    style="height:500px">
    <thead>
      <tr>
        <th 
          py:for="fld in view.fields" 
          width="${100 / len(view.fields)}%"
          field="$fld.name" 
          editable="true"
          >$fld.label</th>
      </tr>
    </thead>
  </table>
</compound>
